How to extract year and week number in a dataframe and put it in a new column